package com.qlzb.taskmanagement.vo.base;

import javax.validation.constraints.NotEmpty;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName BaseActionVo
 * @Description TODO    基础操作 ActionVo
 * @Authr 袁聪
 * @Date 2018/10/1 23:35
 * @Version v2.0
 */
public class BaseActionVo implements BaseVo {

    @NotEmpty(message = "id 不能为空")
    protected String id;

    @NotEmpty(message = "action 不能为空")
    protected String action;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }


    @Override
    public String toString() {
        return "BaseActionVO{" +
                "id='" + id + '\'' +
                ", action='" + action + '\'' +
                '}';
    }
}
